<?php
namespace Home\Controller;
use Think\Controller;

      /**
      * 消息分类
      */
      class ReviceMsgController extends Controller
      {
      	
      	public function ResponseMsg()
      	{
      		$getInfo = I('get.'); // openid keyword content

                  switch ($getInfo['keyword']) {
                        //http://myzhbit.cn/blxbstory/index.php/Home/ReviceMsg/ResponseMsg
                        case '喝酒':
                              $receiveEntranceObj = new EntranceController();
                              $receiveEntranceObj->Drink($getInfo);
                              break;
                        
                        case '摆渡人':
                              $receiveEntranceObj = new EntranceController();
                              $receiveEntranceObj->Ferryman($getInfo);
                              break;

                        case '修改':
                              $receiveEntranceObj = new EntranceController();
                              $receiveEntranceObj->Modify($getInfo);
                              break;

                        case '内容':
                              $receiveEntranceObj = new EntranceController();
                              $receiveEntranceObj->Content($getInfo);
                              break;
                        default:
                              var_dump("匹配错误");
                              break;
                  }
      	}

           /* public function test()
            {
                  echo "hello";
            }*/
      }

?>